<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:p="http://primefaces.org/ui"
   	xmlns:ui="http://java.sun.com/jsf/facelets"
   	template="/pages/templates/template.xhtml">

	<ui:define name="windowTitle">
		Lajes - Exames
	</ui:define>

	<ui:define name="pageContent">
		<div class="maingeneral">
			<div class="slide_blog_resize">
			    <div class="slide_blog_resize_b">
			      <h4>Exames</h4>
			      <div class="clr"></div>
			    </div>
		 	</div>
		    <div class="body">
			    <div class="body_resize">
			      <div class="clr"></div>
			      <div class="left">
			        <div class="inner_port">
			          <h:form>  
					    <p:dataTable var="exame" value="#{examesController.examesList}">  
					        <p:column headerText="Exames" >  
					            <h:outputText value="#{exame.nome}" />  
					        </p:column>  
					  
					        <p:column headerText="Orientações (Jejum)" >
					            <h:outputText value="#{exame.orientacao}" />  
					        </p:column>  
					    </p:dataTable>  
					  </h:form> 
			        </div>
			        <div class="clr"></div>
			        <h4>Os demais exames entrar em contato para mais informações.</h4>
			      </div>
			      <div class="right">
			        <h2>Outras Notícias</h2>
			        <ul>
			          <li>
			          	<p:commandLink action="news_one">
							<p:outputLabel value="#{newsController.newsOneTitle}"/>
						</p:commandLink>
					  </li>
			          <li>
			          	<p:commandLink action="news_two">
							<p:outputLabel value="#{newsController.newsTwoTitle}"/>
						</p:commandLink>
					  </li>
					  <li>
			          	<p:commandLink action="news_three">
							<p:outputLabel value="#{newsController.newsThreeTitle}"/>
						</p:commandLink>
					  </li>
			        </ul>
			      </div>
		      	<div class="clr"></div>
		    </div>
		  </div>
		  <div class="clr"></div>
		</div>
		
		<script>
			$(window).load(function(){
				$('#slider')._TMS({
					banners:true,
					waitBannerAnimation:false,
					preset:'diagonalFade',
					easing:'easeOutQuad',
					pagination:true,
					duration:400,
					slideshow:8000,
					bannerShow:function(banner){
						banner.css({marginRight:-500}).stop().animate({marginRight:0}, 600)
					},
					bannerHide:function(banner){
						banner.stop().animate({marginRight:-500}, 600)
					}
					})
			})
		</script>
	</ui:define>
</ui:composition>